@echo off
chcp 65001 >nul
echo ========================================
echo    ITS System Stop Script
echo ========================================
echo.
echo Stopping all services...

cd /d "%~dp0"

echo [1/4] Stopping Nginx proxy...
docker-compose stop nginx

echo [2/4] Stopping frontend service...
docker-compose stop frontend

echo [3/4] Stopping backend service...
docker-compose stop backend

echo [4/4] Stopping database service...
docker-compose stop database

echo.
echo ========================================
echo    All services have been stopped
echo ========================================
echo.
pause